package cn.sumpu.app.wlcity.biz;


import java.util.List;

import cn.sumpu.app.wlcity.domain.Content;
import cn.sumpu.app.wlcity.exception.AppBusinessException;

public interface ContentBiz {
	public void insertContent(Content content) throws AppBusinessException;
	
	public List<Content> getContentList(Integer page,String contentType,String radioApp) throws AppBusinessException;
	
	public int getContentListCount(String contentType,String radioApp) throws AppBusinessException;
	
	public Content getContentById(String identifier)throws AppBusinessException;
	
	public void updateContent(Content content)throws AppBusinessException;
	
	
	public void moveContentSortUp(Content content,String contentType) throws AppBusinessException;
	
	public void moveContentSortDown(Content content,String contentType) throws AppBusinessException;
	
	public void deleteContent(String identifier) throws AppBusinessException ;
	
	public void downEachVoteSort(Integer sort,String contentType) throws AppBusinessException;
	
	
	public List<Content> getContentHotList(Integer page,String contentType,String radioApp) throws AppBusinessException;
}
